/*
 *------------------------------------------------------------------------------
 * @File      :    ei_nna_fod_define.h
 * @Date      :    2021-4-8
 * @Author    :    lomboswer <lomboswer@lombotech.com>
 * @Brief     :    Media Interface for MADP(Media Development Platform).
 *
 * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
 *------------------------------------------------------------------------------
 */

#ifndef __EI_NNA_FACE_OCCLUSION_DET_DEFINE_H__
#define __EI_NNA_FACE_OCCLUSION_DET_DEFINE_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "ei_nna_define.h"
#include "ei_nna_fd_define.h"

typedef struct eiNNA_FACE_OCCLUSION_DET_CONFIG_S {
	EI_CHAR *ModelRootPath;

	EI_S32 s32Width;
	EI_S32 s32Height;

	EI_NNA_AX_FREQ_S stFreq;
} EI_NNA_FACE_OCCLUSION_DET_CONFIG_S;

typedef struct eiNNA_FACE_OCCLUSION_S {
	EI_FLOAT f32Score;

	EI_FLOAT f32GlassesProbability;
	EI_FLOAT f32MaskProbability;
} EI_NNA_FACE_OCCLUSION_S;

typedef struct eiNNA_FACES_OCCLUSION_S {
	EI_S32 s32Num;
	EI_NNA_FACE_OCCLUSION_S stFacesOcclusion[DEFAULT_NNA_FACE_DET_CONFIG_MAX_DET_CNT];
} EI_NNA_FACES_OCCLUSION_S;

typedef EI_S32 NNA_FOD_CHN;
typedef EI_NNA_FACES_S EI_NNA_SRC_FOD_S;
typedef EI_NNA_FACES_OCCLUSION_S EI_NNA_DST_FOD_S;
typedef EI_NNA_FACE_OCCLUSION_DET_CONFIG_S EI_NNA_FOD_CONFIG_S;

#ifdef __cplusplus
}
#endif

#endif
